/**
 * 
 */
package com.wegax.finprod.sender;

import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author wegax
 * 
 */
@Configuration
public class SenderConfiguration {

	@Autowired
	private RabbitTemplate rabbitTemplate;

	@Bean
	public ApplicationFormSender applicationFormSender() {
		return new ApplicationFormSenderImpl(rabbitTemplate);
	}

}
